vmx: remove CSTAR save/restore on VMX
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 May 2007 09:46:03 +0000 (10:46 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 May 2007 09:46:03 +0000 (10:46 +0100)
commit12a056ebf39c7c0ed09b6b0739fb4de237be1144
treef893be922d89695d674b6d70d1d5e0b25ba08eab
parent89130c31e54744da03b04ec1c0835375ea06d306
vmx: remove CSTAR save/restore on VMX

CSTAR is an unused MSR in 64-bit mode on Intel's EM64T, hence there's
no need to save/restore this MSR during context switches. Mimic real
hardware by retaining the value written for eventual guest OS reads.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/vmx/vmcs.h